package net.learntechnology.examples.dao;

import com.google.inject.ImplementedBy;
import net.learntechnology.examples.dao.ibatis.EmployeeSqlMapDao;
import net.learntechnology.examples.domain.Employee;
import java.util.List;

/**
 *
 * @author nmaves
 */
@ImplementedBy(EmployeeSqlMapDao.class)
public interface EmployeeDao {

	public Integer insert(Employee employee);
	public void update(Employee employee);
	public void delete(Integer id);
	public Employee fetch(Integer id);
    public List<Employee> fetchAll();
}
